package de.jadehs.cosima.ui;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.part.ViewPart;

public class GraphsView extends ViewPart {
	private Composite container;

	@Override
	public void createPartControl(Composite parent) {
		parent.setLayout(new FillLayout());
		Composite container = new Composite(parent, SWT.None);
		container.setLayout(new FillLayout());
		this.container = container;
	}

	public Composite getEmptyContainer() {
		for (Control c : container.getChildren()) {
			c.dispose();
		}
		
		return container;
	}

	@Override
	public void setFocus() {
	}
}
